﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.Permission.Model
{
    public class AuthorizeNode
    {
        /// <summary>
        /// 权限节点标识
        /// </summary>
        public virtual Guid id { get; set; }
        /// <summary>
        /// 节点标题(一般为中文)
        /// </summary>
        public virtual String title { get; set; }
        /// <summary>
        /// 节点名称（一般为英文）
        /// </summary>
        public virtual String name { get; set; }
        /// <summary>
        /// ICON标记
        /// </summary>
        public virtual String icon { get; set; }
        /// <summary>
        /// 是否展开标记
        /// </summary>
        public virtual Boolean expand { get; set; }
        /// <summary>
        /// 子节点
        /// </summary>
        public virtual IEnumerable<AuthorizeNode> children { get; set; }
    }
}
